package com.xb.cloud.user.model;

import java.util.Date;

public class EndUser {
    private Long id;

    private Long companyId;

    private String phoneNum;

    private String endUserNickName;

    private String endUserPassword;

    private String endUserImageUrl;

    private String endUserEmail;

    private Byte userAccountType;

    private String openid;

    private String unionid;

    private Integer registChannel;

    private Date endUserBirthday;

    private Date endUserLastLoginDate;

    private Date endUserLastBoughtDate;

    private Byte endUserSex;

    private String endUserRealName;

    private String endUserRemark;

    private Long defaultAddressId;

    private Long lastUsePaymentGatewayId;

    private String lastLoginIp;

    private Byte isEnabled;

    private Byte isDeleted;

    private Long createUserId;

    private String createUserName;

    private Date createTime;

    private Long updateUserId;

    private String updateUserName;

    private Date updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum == null ? null : phoneNum.trim();
    }

    public String getEndUserNickName() {
        return endUserNickName;
    }

    public void setEndUserNickName(String endUserNickName) {
        this.endUserNickName = endUserNickName == null ? null : endUserNickName.trim();
    }

    public String getEndUserPassword() {
        return endUserPassword;
    }

    public void setEndUserPassword(String endUserPassword) {
        this.endUserPassword = endUserPassword == null ? null : endUserPassword.trim();
    }

    public String getEndUserImageUrl() {
        return endUserImageUrl;
    }

    public void setEndUserImageUrl(String endUserImageUrl) {
        this.endUserImageUrl = endUserImageUrl == null ? null : endUserImageUrl.trim();
    }

    public String getEndUserEmail() {
        return endUserEmail;
    }

    public void setEndUserEmail(String endUserEmail) {
        this.endUserEmail = endUserEmail == null ? null : endUserEmail.trim();
    }

    public Byte getUserAccountType() {
        return userAccountType;
    }

    public void setUserAccountType(Byte userAccountType) {
        this.userAccountType = userAccountType;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid == null ? null : openid.trim();
    }

    public String getUnionid() {
        return unionid;
    }

    public void setUnionid(String unionid) {
        this.unionid = unionid == null ? null : unionid.trim();
    }

    public Integer getRegistChannel() {
        return registChannel;
    }

    public void setRegistChannel(Integer registChannel) {
        this.registChannel = registChannel;
    }

    public Date getEndUserBirthday() {
        return endUserBirthday;
    }

    public void setEndUserBirthday(Date endUserBirthday) {
        this.endUserBirthday = endUserBirthday;
    }

    public Date getEndUserLastLoginDate() {
        return endUserLastLoginDate;
    }

    public void setEndUserLastLoginDate(Date endUserLastLoginDate) {
        this.endUserLastLoginDate = endUserLastLoginDate;
    }

    public Date getEndUserLastBoughtDate() {
        return endUserLastBoughtDate;
    }

    public void setEndUserLastBoughtDate(Date endUserLastBoughtDate) {
        this.endUserLastBoughtDate = endUserLastBoughtDate;
    }

    public Byte getEndUserSex() {
        return endUserSex;
    }

    public void setEndUserSex(Byte endUserSex) {
        this.endUserSex = endUserSex;
    }

    public String getEndUserRealName() {
        return endUserRealName;
    }

    public void setEndUserRealName(String endUserRealName) {
        this.endUserRealName = endUserRealName == null ? null : endUserRealName.trim();
    }

    public String getEndUserRemark() {
        return endUserRemark;
    }

    public void setEndUserRemark(String endUserRemark) {
        this.endUserRemark = endUserRemark == null ? null : endUserRemark.trim();
    }

    public Long getDefaultAddressId() {
        return defaultAddressId;
    }

    public void setDefaultAddressId(Long defaultAddressId) {
        this.defaultAddressId = defaultAddressId;
    }

    public Long getLastUsePaymentGatewayId() {
        return lastUsePaymentGatewayId;
    }

    public void setLastUsePaymentGatewayId(Long lastUsePaymentGatewayId) {
        this.lastUsePaymentGatewayId = lastUsePaymentGatewayId;
    }

    public String getLastLoginIp() {
        return lastLoginIp;
    }

    public void setLastLoginIp(String lastLoginIp) {
        this.lastLoginIp = lastLoginIp == null ? null : lastLoginIp.trim();
    }

    public Byte getIsEnabled() {
        return isEnabled;
    }

    public void setIsEnabled(Byte isEnabled) {
        this.isEnabled = isEnabled;
    }

    public Byte getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Byte isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Long getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName == null ? null : createUserName.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(Long updateUserId) {
        this.updateUserId = updateUserId;
    }

    public String getUpdateUserName() {
        return updateUserName;
    }

    public void setUpdateUserName(String updateUserName) {
        this.updateUserName = updateUserName == null ? null : updateUserName.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

	@Override
	public String toString() {
		return "EndUser [id=" + id + "]";
	}
}